package com.googlecode.jsimplemarket.repository;


import com.googlecode.jsimplemarket.model.Absenta;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import org.springframework.data.repository.CrudRepository;

/**
 *
 * @author Alexandru.Codescu
 */
public interface AbsentaRepository extends CrudRepository<Absenta, Long> {
    /* List<BigDecimal> queryBySpatiu(Long idT, Long idF, Date data); */
    List<Object[]> queryBySpatiu(Long idT, Long idF, Date data);
    List<Object[]> queryByDay(Date data1);
    List<Object[]> queryByDayAll(Date data1);
    List<Object[]> queryByTaraba(Long idT);
    List<Long> queryByDayTotal(Date data);
}

